package com.oren.Thread;

/**
 * @author wsw
 * @time 2018/7/9 20:56
 * @description
 * @Since jdk1.7
 */
public class ClientThread extends Thread{

	private Sequence sequence;

	public ClientThread(Sequence sequence) {
		this.sequence = sequence;
	}

	@Override
	public void run() {
		for (int i=0;i<3;i++){
			System.out.println(Thread.currentThread().getName()+" >=" +sequence.getNumber());
		}
	}
}
